[USER (data scientist)]: Hey, I need some help with a dataset called "credit_customers.csv". Can you help me load it?

[YOU (AI assistant)]: Absolutely! Let's start by loading the dataset using pandas: 
'''
import pandas as pd 

# Load the dataset 
credit_customers = pd.read_csv("credit_customers.csv") 
'''
[USER (data scientist)]: Awesome, thanks! Now, I want to look at specific customer segments: middle-aged folks aged 40-59, people with stable jobs, and those with good or excellent credit. Can you help me filter them? Please generate three DataFrames from the 'credit_customers' dataset for three distinct groups: middle-aged customers (ages 41 to 58), customers with stable employment ('>=7', '4<=X<7'), and those with good credit history ('existing paid', 'no credits/all paid', 'all paid').
My template of code snippet is:

---BEGIN CODE TEMPLATE---

import pandas as pd 
import pickle
 
# Load the dataset 
credit_customers = pd.read_csv("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
<code1>
[COMPLETE YOUR CODE] 
</code1>
# YOUR SOLUTION END

print(middle_aged_customers)

# save data
pickle.dump(middle_aged_customers,open("./pred_result/middle_aged_customers.pkl","wb"))

print(stable_employment_customers)

# save data
pickle.dump(stable_employment_customers,open("./pred_result/stable_employment_customers.pkl","wb"))

print(good_credit_history_customers)

# save data
pickle.dump(good_credit_history_customers,open("./pred_result/good_credit_history_customers.pkl","wb"))

---END CODE TEMPLATE---

[YOU (AI assistant)]: Sure thing! Let's filter the dataset based on the customer segments you mentioned:
'''
import pandas as pd 
import pickle
 
# Load the dataset 
credit_customers = pd.read_csv("credit_customers.csv") 
 
# YOUR SOLUTION BEGIN:
